package sk.tuke.constraintbuilder.analyzer;

public class AnnotationError {
   
	private String message;
    private int line;
    private int startChar;
    private int endChar; 
    private int severity;

    public AnnotationError(String message, int line, int startChar, int endChar, int severity) {
		super();
		this.message = message;
		this.line = line;
		this.startChar = startChar;
		this.endChar = endChar;
		this.severity = severity;
	}

	public int getLine() {
		return line;
	}

	public int getStartChar() {
		return startChar;
	}

	public int getEndChar() {
		return endChar;
	}
	
	public int getSeverity(){
		return severity;
	}
	
	public String getMessage(){
		return message;
	}

	@Override
    public String toString() {
        return message;
    }

}
